<div class="devui-demo-container" dAnchorBox dAnchorHashSupport [view]="{ top: 180, bottom: 0 }">
  <d-demo-nav [navItems]="navItems"></d-demo-nav>
  <div class="devui-demo-example" [dAnchor]="'basic-usage'">
    <div class="devui-demo-title">{{ 'components.popover.basicDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="basic" [sourceData]="basicSource">
      <d-basic demo></d-basic>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'position'">
    <div class="devui-demo-title">{{ 'components.popover.positionDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.popover.positionDemo.description' | translate }}</div>
    <d-codebox id="position" [sourceData]="positionSource">
      <d-position demo></d-position>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'manual-control-display'">
    <div class="devui-demo-title">{{ 'components.popover.manualDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.popover.manualDemo.description' | translate }}</div>
    <d-codebox id="manual" [sourceData]="manualSource">
      <d-manual demo></d-manual>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'custom-prompt-content'">
    <div class="devui-demo-title">{{ 'components.popover.customizeDemo.customizeTip' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.popover.customizeDemo.description' | translate }}</div>
    <d-codebox id="customize" [sourceData]="customizeSource">
      <d-customize demo></d-customize>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'parent-container-settings'">
    <div class="devui-demo-title">{{ 'components.popover.scrollElementDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.popover.scrollElementDemo.description' | translate }}</div>
    <d-codebox id="scroll-element" [sourceData]="scrollElementSource">
      <d-scroll-element demo></d-scroll-element>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'hover-delay-time'">
    <div class="devui-demo-title">{{ 'components.popover.hoverDelayTimeDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.popover.hoverDelayTimeDemo.description' | translate }}</div>
    <d-codebox id="hover-delay-time" [sourceData]="hoverDelayTimeSource">
      <d-hover-delay-time demo></d-hover-delay-time>
    </d-codebox>
  </div>
</div>
